package com.lyubia.shop.order.service;

import com.lyubia.shop.common.result.BaseResult;
import com.lyubia.shop.order.pojo.Order;

public interface OrderService {


    /**
     * 提交订单
     * @param adminId 用户id
     */
    BaseResult submitOrder(int adminId);

    /**
     * 根据订单编号查询订单
     * @param orderSn 订单编号
     * @return 订单信息
     */
    Order selectOrderByOrderSn(String orderSn);
}
